package com.medusa.aps.business.modules.plan.model.output;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@Schema(description = "甘特图列表查询返回实体对象")
public class PageListModel {
    /**
     * 设备id
     */
    @Schema(description = "设备Id")
    private Long deviceId;

    /**
     * 设备编码
     */
    @Schema(description = "设备编码")
    private String deviceCode;

    /**
     * 设备名称
     */
    @Schema(description = "设备名称")
    private String deviceName;

    /**
     * 车间名称
     */
    @Schema(description = "车间名称")
    private String workshopName;

    /**
     * 任务数
     */
    @Schema(description = "任务数")
    private Integer numberOfTasks;

    /**
     * 甘特图数据集合
     */
    @Schema(description = "甘特图数据集合")
    private List<GanttChartListModel> ganttList;
}
